#include"client.hpp"


void user_mandb()
{
    std::cout << "error command, please input like:  \"./client ip port\" " << std::endl;
}

int main(int args, char *argc[])
{
    if (args != 3)
    {
        user_mandb();
    }

    TCP_CLIENT* client = new TCP_CLIENT(argc[1], atoi(argc[2]));
    client->client_init();
    client->client_start();
  
    delete client;
    return 0;
}